Previous Book Contents Book Index Next

Inside Macintosh: Open Transport /
Chapter 2 - Providers / Providers Reference


Application-Defined Functions

To receive notice of provider events, you must write and install a notifier function. A notifier function is the callback function that a provider uses to communicate information back to your application for all events affecting a particular provider. A provider in asynchronous mode must have a notifier function to receive completion events.

Most providers must also use a notifier function to retrieve asynchronous events. An endpoint provider can poll for asynchronous events using the OTLook function, but a mapper provider or a service provider cannot poll for asynchronous events; it must use a notifier function instead. In general, it is recommended that all providers use notifier functions to handle both asynchronous and completion events.


Subtopics
MyNotifierCallbackFunction

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 AUG 1996